package com.aerospace;

import lombok.Data;

import java.io.Serializable;

/**
 * @Author: Aerospace
 * @Date: 2021/5/12 22:29
 * @Description: Dream begins
 */
@Data
public class Product implements Serializable {
    private static final long serialVersionUID = 8838004821051949071L;

    int id;
    String name;
    int count;

    public Product(int id, String name, int count) {
        this.id = id;
        this.name = name;
        this.count = count;
    }

    @Override
    public String toString(){
        return "Product{" +
                "id+" + id +
                ",name=" +name+
                ",count="+count+
                "}";
    }
}
